package com.shortvedio.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shortvedio.base.model.Result;
import com.shortvedio.base.model.po.Comments;

import java.util.List;

public interface CommentsService extends IService<Comments> {
    // 自定义服务方法可以在这里定义
    Result addRootComment(Long videoId, Long userId, String content);//添加根评论
    Result addReplyComment(Long parentId, Long videoId, Long userId, String content, Long commentObject);//添加回复评论

    Result deleteComment(Long commentId, Long userId);//删除评论
}